﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace HPDMAS.Gozlemci.IHKUyesi
{
    public partial class MusabakaKayit : System.Web.UI.Page
    {
        private int _ligId;
        private int _sehirId;
        private int _sezonId;

        protected void Page_Load(object sender, EventArgs e)
        {
            _sehirId = Convert.ToInt32(Session["sehirId"]);
            _sezonId = Convert.ToInt32(Session["sezonId"]);

            _ligId = Convert.ToInt32(Request.QueryString["LigID"]);
            if (_ligId == 0)
            {
                Response.Redirect("LigSecimi.aspx");
            }
            else
            {
                ucMusabakaKayit.sezonId = _sezonId;
                ucMusabakaKayit.sehirId = _sehirId;
                ucMusabakaKayit.ligId = _ligId;
            }
        }
    }
}